\hypertarget{xscalechart_8h_source}{}\doxysection{xscalechart.\+h}
\mbox{\hyperlink{xscalechart_8h}{浏览该文件的文档.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{preprocessor}{\#ifndef XSCALECHART\_H}}
\DoxyCodeLine{2 \textcolor{preprocessor}{\#define XSCALECHART\_H}}
\DoxyCodeLine{3 }
\DoxyCodeLine{4 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{xscale_8h}{xscale.h}}"{}}}
\DoxyCodeLine{5 }
\DoxyCodeLine{6 \textcolor{keyword}{class }\mbox{\hyperlink{class_x_scale_chart_private}{XScaleChartPrivate}};}
\DoxyCodeLine{7 \textcolor{keyword}{class }\mbox{\hyperlink{class_x_scale_chart}{XScaleChart}} : \textcolor{keyword}{public} \mbox{\hyperlink{class_x_scale}{XScale}}}
\DoxyCodeLine{8 \{}
\DoxyCodeLine{9     Q\_OBJECT}
\DoxyCodeLine{10 }
\DoxyCodeLine{11     Q\_PROPERTY(QString \mbox{\hyperlink{class_x_scale_chart_ad981c5b388cc0cb267f51785c6263c6d}{scaleChartTitle}} READ \mbox{\hyperlink{class_x_scale_chart_aebbed884a8e81ac1341ca122215febff}{getScaleChartTitle}} WRITE \mbox{\hyperlink{class_x_scale_chart_a91789b01d2b82c3c520d831cd2488130}{setScaleChartTitle}})}
\DoxyCodeLine{12     Q\_PROPERTY(QColor \mbox{\hyperlink{class_x_scale_chart_a7fe57a909cde9913fbf4234a5f033f0e}{scaleChartTitleColor}} READ \mbox{\hyperlink{class_x_scale_chart_a111322d1dd2110d701f45e5e0e18a785}{getScaleChartTitleColor}} WRITE \mbox{\hyperlink{class_x_scale_chart_a7e579b47acd20f1f32b8e1764c4eea3f}{setScaleChartTitleColor}})}
\DoxyCodeLine{13     Q\_PROPERTY(\textcolor{keywordtype}{bool} \mbox{\hyperlink{class_x_scale_chart_af07fff5d53e847344e63c0c3d798c884}{scaleChartTitleEnable}} READ \mbox{\hyperlink{class_x_scale_chart_ac76654019b46440eca23fa42e85814f5}{getScaleChartTitleEnable}} WRITE \mbox{\hyperlink{class_x_scale_chart_abb06df4292b7f33fcd1ca3bea46dfa25}{setScaleChartTitleEnable}})}
\DoxyCodeLine{14 }
\DoxyCodeLine{15     Q\_PROPERTY(QColor \mbox{\hyperlink{class_x_scale_chart_af7f301afc28453fe1a8a5bb8c94c731a}{scaleChartBarBorderColor}} READ \mbox{\hyperlink{class_x_scale_chart_a7a24c2606d52e6e7c8c92d27ae90a59b}{getScaleChartBarBorderColor}} WRITE \mbox{\hyperlink{class_x_scale_chart_a7a3bc3c8b382b2603da9d3937f00a5a1}{setScaleChartBarBorderColor}})}
\DoxyCodeLine{16     Q\_PROPERTY(QColor \mbox{\hyperlink{class_x_scale_chart_af23b23199e86515a5cf4a01062c1a692}{scaleChartBarBgColor}} READ \mbox{\hyperlink{class_x_scale_chart_aee5db926c8090b8e91aecd8a1d10a19e}{getScaleChartBarBgColor}} WRITE \mbox{\hyperlink{class_x_scale_chart_aa71801a1eb85ed3ffc3d781ee1003df7}{setScaleChartBarBgColor}})}
\DoxyCodeLine{17     Q\_PROPERTY(QColor \mbox{\hyperlink{class_x_scale_chart_a791c783dc773fa419fd6fab2c1583728}{scaleChartBarColor}} READ \mbox{\hyperlink{class_x_scale_chart_af3518e1d7d50f49323b5ad0101cea3f7}{getScaleChartBarColor}} WRITE \mbox{\hyperlink{class_x_scale_chart_ad5bdb9d280ab14bd60e42ff1e739af26}{setScaleChartBarColor}})}
\DoxyCodeLine{18     Q\_PROPERTY(QColor \mbox{\hyperlink{class_x_scale_chart_a370bf5ccb7d1f68e1505987485ac35c9}{scaleChartBarWarningColor}} READ \mbox{\hyperlink{class_x_scale_chart_adeb4debafd636deab961228fc8fe383b}{getScaleChartBarWarningColor}} WRITE \mbox{\hyperlink{class_x_scale_chart_af8c5ebd93ca1bc211ba883143091f288}{setScaleChartBarWarningColor}})}
\DoxyCodeLine{19 }
\DoxyCodeLine{20     Q\_PROPERTY(\textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_chart_a8b17f6c2f2e3ef6796f114bac5febd0c}{warningValue}} READ \mbox{\hyperlink{class_x_scale_chart_a1d06cbf78b25114b7e39d26315814771}{getWarningValue}} WRITE \mbox{\hyperlink{class_x_scale_chart_a48fd434b8d11c94246b07ee5e73d436c}{setWarningValue}})}
\DoxyCodeLine{21     Q\_PROPERTY(\textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_chart_a8697c0d9af6ca5f3e90e980443c9184e}{currentValue}} READ \mbox{\hyperlink{class_x_scale_chart_ab79be358c530480043ad8e7a52082d70}{getCurrentValue}} WRITE \mbox{\hyperlink{class_x_scale_chart_a7daa96d7ea3ea8e9b6b268c18fe804b9}{setCurrentValue}})}
\DoxyCodeLine{22     Q\_PROPERTY(QColor \mbox{\hyperlink{class_x_scale_chart_a25bc28eb36db93aba129745bb1da0f2b}{currentValueStringColor}} READ \mbox{\hyperlink{class_x_scale_chart_a69e9a0e92a304a7c95752960a2425e4c}{getCurrentValueStringColor}} WRITE \mbox{\hyperlink{class_x_scale_chart_a3e2e160c88d0dbe1376688dd48e74094}{setCurrentValueStringColor}})}
\DoxyCodeLine{23     Q\_PROPERTY(\textcolor{keywordtype}{bool} \mbox{\hyperlink{class_x_scale_chart_a92eaa2122e83de4c1ee33d56364078b7}{currentValueShowEnable}} READ \mbox{\hyperlink{class_x_scale_chart_aa0cf9fc2896cef43896bf378b05bb7a6}{getCurrentValueShowEnable}} WRITE \mbox{\hyperlink{class_x_scale_chart_a232a8e68f46a0c71f2108fceb8f02f4a}{setCurrentValueShowEnable}})}
\DoxyCodeLine{24 }
\DoxyCodeLine{25 \textcolor{keyword}{public}:}
\DoxyCodeLine{26     \textcolor{keyword}{explicit} \mbox{\hyperlink{class_x_scale_a1d8193ef21e3834dd20480f9374b023d}{XScaleChart}}(QWidget *parent = \textcolor{keyword}{nullptr}, Qt::WindowFlags f=Qt::WindowFlags());}
\DoxyCodeLine{27     \mbox{\hyperlink{class_x_scale_chart_ab8947cd1eb3dbddbd334544334f49fa5}{\string~XScaleChart}}();}
\DoxyCodeLine{28 }
\DoxyCodeLine{29     \textcolor{comment}{/* Property Interface */}}
\DoxyCodeLine{30     QString \mbox{\hyperlink{class_x_scale_chart_aebbed884a8e81ac1341ca122215febff}{getScaleChartTitle}}() \textcolor{keyword}{const};}
\DoxyCodeLine{31     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a91789b01d2b82c3c520d831cd2488130}{setScaleChartTitle}}(\textcolor{keyword}{const} QString \textcolor{keywordtype}{string});}
\DoxyCodeLine{32 }
\DoxyCodeLine{33     QColor \mbox{\hyperlink{class_x_scale_chart_a111322d1dd2110d701f45e5e0e18a785}{getScaleChartTitleColor}}() \textcolor{keyword}{const};}
\DoxyCodeLine{34     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a7e579b47acd20f1f32b8e1764c4eea3f}{setScaleChartTitleColor}}(\textcolor{keyword}{const} QColor \&color);}
\DoxyCodeLine{35 }
\DoxyCodeLine{36     \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_x_scale_chart_ac76654019b46440eca23fa42e85814f5}{getScaleChartTitleEnable}}() \textcolor{keyword}{const};}
\DoxyCodeLine{37     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_abb06df4292b7f33fcd1ca3bea46dfa25}{setScaleChartTitleEnable}}(\textcolor{keywordtype}{bool});}
\DoxyCodeLine{38 }
\DoxyCodeLine{39     QColor \mbox{\hyperlink{class_x_scale_chart_aee5db926c8090b8e91aecd8a1d10a19e}{getScaleChartBarBgColor}}() \textcolor{keyword}{const};}
\DoxyCodeLine{40     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_aa71801a1eb85ed3ffc3d781ee1003df7}{setScaleChartBarBgColor}}(\textcolor{keyword}{const} QColor \&color);}
\DoxyCodeLine{41 }
\DoxyCodeLine{42     QColor \mbox{\hyperlink{class_x_scale_chart_a7a24c2606d52e6e7c8c92d27ae90a59b}{getScaleChartBarBorderColor}}() \textcolor{keyword}{const};}
\DoxyCodeLine{43     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a7a3bc3c8b382b2603da9d3937f00a5a1}{setScaleChartBarBorderColor}}(\textcolor{keyword}{const} QColor \&color);}
\DoxyCodeLine{44 }
\DoxyCodeLine{45     QColor \mbox{\hyperlink{class_x_scale_chart_af3518e1d7d50f49323b5ad0101cea3f7}{getScaleChartBarColor}}() \textcolor{keyword}{const};}
\DoxyCodeLine{46     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_ad5bdb9d280ab14bd60e42ff1e739af26}{setScaleChartBarColor}}(\textcolor{keyword}{const} QColor \&color);}
\DoxyCodeLine{47 }
\DoxyCodeLine{48     QColor \mbox{\hyperlink{class_x_scale_chart_adeb4debafd636deab961228fc8fe383b}{getScaleChartBarWarningColor}}() \textcolor{keyword}{const};}
\DoxyCodeLine{49     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_af8c5ebd93ca1bc211ba883143091f288}{setScaleChartBarWarningColor}}(\textcolor{keyword}{const} QColor \&color);}
\DoxyCodeLine{50 }
\DoxyCodeLine{51     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_chart_a1d06cbf78b25114b7e39d26315814771}{getWarningValue}}() \textcolor{keyword}{const};}
\DoxyCodeLine{52     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a48fd434b8d11c94246b07ee5e73d436c}{setWarningValue}}(\textcolor{keywordtype}{double} value);}
\DoxyCodeLine{53 }
\DoxyCodeLine{54     \textcolor{keywordtype}{double} \mbox{\hyperlink{class_x_scale_chart_ab79be358c530480043ad8e7a52082d70}{getCurrentValue}}() \textcolor{keyword}{const};}
\DoxyCodeLine{55     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a7daa96d7ea3ea8e9b6b268c18fe804b9}{setCurrentValue}}(\textcolor{keywordtype}{double} value);}
\DoxyCodeLine{56 }
\DoxyCodeLine{57     QColor \mbox{\hyperlink{class_x_scale_chart_a69e9a0e92a304a7c95752960a2425e4c}{getCurrentValueStringColor}}() \textcolor{keyword}{const};}
\DoxyCodeLine{58     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a3e2e160c88d0dbe1376688dd48e74094}{setCurrentValueStringColor}}(\textcolor{keyword}{const} QColor \&color);}
\DoxyCodeLine{59 }
\DoxyCodeLine{60     \textcolor{keywordtype}{bool} \mbox{\hyperlink{class_x_scale_chart_aa0cf9fc2896cef43896bf378b05bb7a6}{getCurrentValueShowEnable}}() \textcolor{keyword}{const};}
\DoxyCodeLine{61     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a232a8e68f46a0c71f2108fceb8f02f4a}{setCurrentValueShowEnable}}(\textcolor{keywordtype}{bool});}
\DoxyCodeLine{62 }
\DoxyCodeLine{63 \textcolor{keyword}{protected}:}
\DoxyCodeLine{64     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a1f28175e7e4b73f2b1c45abfe740ff26}{paintEvent}}(QPaintEvent *ev) \textcolor{keyword}{override};}
\DoxyCodeLine{65     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_ae62379d4fbf7d651dc4d2a635d93a33e}{drawBar}}(QPainter *painter);}
\DoxyCodeLine{66     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a48640d6efb1606b87fad9acc2afb74a4}{drawTitle}}(QPainter *painter);}
\DoxyCodeLine{67     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a211674a74af6fda91d1306169de373b8}{drawCurrentValue}}(QPainter *painter);}
\DoxyCodeLine{68 }
\DoxyCodeLine{69 \textcolor{keyword}{private}:}
\DoxyCodeLine{70     Q\_DISABLE\_COPY(\mbox{\hyperlink{class_x_scale_chart}{XScaleChart}})}
\DoxyCodeLine{71     \mbox{\hyperlink{class_x_scale_chart_private}{XScaleChartPrivate}} *\mbox{\hyperlink{class_x_scale_chart_a2e3cf4806096ab18659effaecf604e7e}{xScalePrivateP}};}
\DoxyCodeLine{72 }
\DoxyCodeLine{73     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a1b462e1798927f8fc12cd0c4f127c5a4}{getBarParameters}}(QPointF \&topLeftPoint, QPointF \&bottomRightPoint, QPointF \&warningTopLeftPoint, QPointF \&warningBottomRightPoint);}
\DoxyCodeLine{74     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_a51441ec58f995a1ccef23647c9b5ce95}{getBaseLineParameters}}() override;}
\DoxyCodeLine{75     \textcolor{keywordtype}{void} \mbox{\hyperlink{class_x_scale_chart_acc7e0a151ede04cf87fe2fd103f5bdbb}{getScaleLineLength}}() override;}
\DoxyCodeLine{76 \};}
\DoxyCodeLine{77 }
\DoxyCodeLine{78 \textcolor{preprocessor}{\#endif }\textcolor{comment}{// XSCALECHART\_H}}

\end{DoxyCode}
